import { isH5, isAppPlus, isMp } from './platform'
export function platForm() {
  let activityPlatform: any
  if (isAppPlus) {
    activityPlatform = 1
  } else if (isH5) {
    activityPlatform = 2
  } else if (isMp) {
    activityPlatform = 3
  }
  return activityPlatform
}

/**活动平台类型*/
export const guidActivityPlatform = platForm()
/**默认导出活动平台类型*/
export default guidActivityPlatform
